/*    */ package com.qmsk.business.keyword.keyWord.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadManyRows;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class KeyWordDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 20 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, true);
/*    */   }
/*    */ 
/*    */   public int updateNumber(Long id) throws SQLException {
/* 24 */     Map params = new HashMap();
/* 25 */     return update("updateNumber", params); }
/*    */ 
/*    */   public GsonHeadManyRows getAllShop(Map<String, Object> params) throws SQLException {
/* 28 */     return getManyRowsOfParams("selectSqlOfAll", params);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getReply(String text) throws SQLException {
/* 32 */     Map params = new HashMap();
/* 33 */     params.put("keyWord", text);
/* 34 */     params.put("status", Integer.valueOf(0));
/* 35 */     return getOneRowOfParams("selectSqlOfAll", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.keyword.keyWord.dao.KeyWordDAO
 * JD-Core Version:    0.5.3
 */